package com.huixiaodian.ft_setting.view;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;

import com.huixiaodian.baselibrary.ft_user.service.impl.LoginImpl;
import com.huixiaodian.ft_setting.R;

public class SettingActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        findViewById(R.id.tv_userInfo)
                .setOnClickListener(
                        v -> LoginImpl.getInstance().startUserInfoActivity(this));
        findViewById(R.id.tv_accountAndSafe)
                .setOnClickListener(
                        v -> LoginImpl.getInstance().startUserSafetyActivity(this));
    }
}